﻿using System.Collections.ObjectModel;
using System.Windows.Media;

namespace LYR_RPA.models.project
{
    public class TreeItem
    {
        public string Name { get; set; }
        public ObservableCollection<TreeItem> Children { get; set; }
        public ImageSource Icon { get; set; }

        public TreeItem(string name, ImageSource icon = null)
        {
            Name = name;
            Children = new ObservableCollection<TreeItem>();
            Icon = icon;
        }
    }

}
